package com.wsc.abstractfactory;

/**
 * 魔法族工厂
 * 实现魔法族工具的生产
 */
public class MagicFactory extends AbstractFactory{

    @Override
    Food creatFood() {
        return new Rice();
    }

    @Override
    Weapon creatWeapon() {
        return new MagicStick();
    }

    @Override
    Vehicle creatVehicle() {
        return new Bike();
    }
}
